package com.ye.personnel.api.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;


/**
 * @Author: yeubo
 * @Date: 2024/1/2 13:59
 */
@Data
public class ChangeUserPasswordDto {

    @ApiModelProperty("新密码")
    @NotEmpty(message = "新密码不能为空")
    private String newPassword;

    @ApiModelProperty("确认密码")
    @NotEmpty(message = "确认密码不能为空")
    private String confirmPassword;

    @ApiModelProperty("原密码")
    @NotEmpty(message = "原密码不能为空")
    private String originalPassword;
}
